package com.twentytwok.hospitalsystem22K.service;



import com.github.pagehelper.PageInfo;
import com.twentytwok.hospitalsystem22K.common.PieBo;
import com.twentytwok.hospitalsystem22K.pojo.Drug;

import java.util.List;
import java.util.Map;

public interface DrugService {
    PageInfo<Drug> findAllDrug(Map<String, Object> map);

    int insertDrug(Map<String, Object> map);

    int updateDrug(Map<String, Object> map);

    int deleteDrug(Integer id);

    List<PieBo> pie();
}
